// src/main/java/com/yc/exception/InvalidFileTypeException.java
package com.yc.exception;

import org.springframework.http.HttpStatus;

/**
 * 文件类型不支持时抛出
 */
public class InvalidFileTypeException extends BusinessException {
    public InvalidFileTypeException(String message) {
        super(message, HttpStatus.UNSUPPORTED_MEDIA_TYPE); // 415
    }
}